﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/UI/SiteUI.Master" AutoEventWireup="true" CodeBehind="DetailCode.aspx.cs" Inherits="WebUI.Form.DetailCode" %>
<%@ Import Namespace="MyAspx.Framework.Common" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
 
    <%--<script src="../Scripts/JQueryFile/jQueryFileTree.min.js"></script>--%>
    <%--<title><%=Titles %></title>--%>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"><link href="../Css/codedetail.css" rel="stylesheet" />
    <%--<link href="../Scripts/JQueryFile/jQueryFileTree.min.css" rel="stylesheet" />--%> 
      <script src="../Scripts/JQueryFile/FileTree/jquery.fileTree.js"></script>
    <link href="../Scripts/JQueryFile/FileTree/jquery.fileTree.css" rel="stylesheet" />
    <script src="../Scripts/JQueryFile/FileGrid/jquery.fileGrid.js"></script>   
     <link href="../Scripts/JQueryFile/FileGrid/jquery.fileGrid.css" rel="stylesheet" />
    <script src="../Scripts/JQueryFile/explorer/explorer.js"></script>
    <link href="../Scripts/JQueryFile/explorer/explorer.css" rel="stylesheet" />
    <script src="../Scripts/Core/imglite.js"></script>
    <%--<script src="../Scripts/layer/layer.js"></script>--%>
    <%--<script src="https://og6593g2z.qnssl.com/fundebug.0.1.7.min.js" apikey="1a5bff24f40c7a4bd8d78303e29e03d7bbbcb300fa2e44ac64cd9b586c0cdeec"></script>--%>
      <div id="topNav">当前位置：首页 > 源码详情  > <%=_CurFileinfo.filename  %>  </div>
    <div id="content">
        
            <div class="panel panel-default">
              <div class="panel-heading">
                <h3 class="panel-title">源码信息：</h3>
              </div>
              <div class="panel-body">
               <div class="media">
                    <a class="pull-left" href="#"><img class="media-object img-rounded"  src="<%=DetailPic  %> "></a>
                    <div class="media-body">
                      <h4 class="media-heading bigf"><%=_CurFileinfo.filename %></h4>
                        <% if (_CurFileinfo.usermsg != null)
                           { %>
                        <p><span class="glyphicon glyphicon-flag"  style="color: #aab2bd; font-size: 12px;padding-left: 0px"></span> <font style="color: #aab2bd"><%= UsgMesg %>...</font></p>
                        <% } %>
                      <p><span  >
                          <img src="../Images/globals/1.png" style="width: 15px;height: 15px;margin-top: -2px;" /></span> 源码类型： <%=CodeType %><span class="detail-info-top">
                          <img src="../Images/globals/2.png" style="width: 15px;height: 15px;margin-top: -4px;" /></span> 开发环境： <%=_CurFileinfo.filevstype %> + <%=_CurFileinfo.filedatabase %><span class="detail-info-top">
                          <img src="../Images/globals/3.png" style="width: 15px;height: 15px;margin-top: -4px;" /></span> 开发语言： <%=_CurFileinfo.filedevlan %><span class="smallf badge" style="float:right;">上传于：<%=_CurFileinfo.addtime %></span></p>
                      <% if (_commyaspxdbEntities.my_tag.Where(q => q.fileinfoid == _CurFileinfo.fileid).Count() > 0)
                           { %>
                         <p><span><img src="../Images/globals/4.png" style="width: 17px;height: 23px;margin-top: -9px;" /></span>标签：
                          <%--<%# Server.HtmlDecode(Eval("tagname").ToString())%>--%>
                          <%--<% foreach (string tag in this.tagNameList)
                             {%>
                          <span style="color: gray;font-size: 7px; margin-top: 0px; margin-bottom: -1px;">
                         <%# Server.HtmlDecode(tag)%></span>
                           <%  } %>--%>
                          <%
                              foreach (string tag in this.tagNameList)
                              {
                                  if (_commyaspxdbEntities.my_tag.Where(q => q.fileinfoid == _CurFileinfo.fileid).Count() > 0)
               %>
                          <%--<span style="color: gray;font-size: 7px; margin-top: 0px; margin-bottom: -1px;">
                         <%= tag %></span>--%>
                          <font class="tagonly"><%= tag %></font>
            <%--<tr align="center" bgcolor="green">
                <td><%=tag %></td>
                 <td><%=data.Name %></td>
                 <td><%=(data.Sex?"男":"女") %></td>
                 <td><%=data.NationData.Name %></td>
                 <td><%=data.Birthday %></td>
            </tr>--%>
            <% } %>
                      </p>
                        <% } %>
                        <p>
                            <span class="saletypespan" style="color:darkseagreen;font-size: 25px;font-weight: bold;margin-top: 10px"><%= SaleType %></span>
                        </p>
                        <p>
                           <span   onclick="window.open( '<%= DownUrl %>')"><button type="button" id="btn-download" class="btn btn-success btn-block" style="width: 230px;">立刻下载</button></span>  <span style=" float: right;margin-top: -20px;" class="top-readanddown">总下载量:{} 总浏览量：{}</span>
                     
                        </p>
                    </div>
                  </div>
              </div>
            </div>
        <div class="col-md-6" id="codeinfodata" name="codeinfodata" style="margin-left: -16px;margin-top: -5px;width: 73%">
            <div class="panel panel-default">
              <div class="panel-heading headfomart">
                <h3 class="panel-title"><span class="glyphicon glyphicon-indent-left "></span> 源码目录结构图<font class="top-split-char">|</font><span class="glyphicon glyphicon-list-alt"></span> <a href="#codeinfoshow">源码介绍</a><font class="top-split-char">|</font><span class="glyphicon glyphicon-lock"></span> <a href="#buydata">购买记录()</a><font class="top-split-char">|</font><span class="glyphicon glyphicon-user"></span> <a href="#commentdata">源码讨论()</a><%--<span class="glyphicon glyphicon-refresh">ka</span>--%></h3>
              <script>
                  $('#codeinfodata').find('span').click(function() {
                      if ($('#codeinfodata').find('span').index <= 3) {
                          $(this).addClass('ingreen');
                      }
                  });
              </script>
              </div>
              <div class="panel-body">
                  <div id="codefold"></div>
                     <div id="file" class="explorer">
    <div id="fileTree" class="fileTree">正在读取源码目录树<img src="../Images/globals/loadgray.gif"  />


    </div>
                         <input type="text" value="<%=tempZipDir %>"  id="tempdirhid" name="tempdirhid" style="display:none" />
    <div id="dialog"></div>
  <input type="hidden" ID="dirf" name="dirf" />
    </div><div style="float: right;clear: both;margin-top: -480px"><%--<img width="190" height="495" src="" />--%><img src="../Images/dev/ad190_495.jpg" /></div>
              </div>
            </div>
            <div class="panel panel-default">
              <div class="panel-heading">
                <h3 class="panel-title" id="codeinfoshow">源码介绍</h3>
              </div>
              <div class="panel-body">
               <%-- <div class="col-md-3">
            <button type="button" class="btn btn-default btn-block" style="margin-bottom: 5px;">Primary</button>
          </div>
                  <div class="col-md-3">
            <button type="button" class="btn btn-default btn-block" style="margin-bottom: 5px;">Primary</button>
          </div>
                  <div class="col-md-3">
            <button type="button" class="btn btn-default btn-block" style="margin-bottom: 5px;">Primary</button>
          </div>
              
                  <div class="col-md-3" style="margin-bottom: 10px;" >
            <button type="button" class="btn btn-default btn-block" style="margin-bottom: 5px;">Primary</button>
          </div>    <br/>
                  <div class="col-md-3">
            <button type="button" class="btn btn-default btn-block" style="margin-bottom: 5px;">Primary</button>
          </div>
                  <div class="col-md-3">
            <button type="button" class="btn btn-default btn-block" style="margin-bottom: 5px;">Primary</button>
          </div>--%>
                  <table class="table small">
                <thead>
                  <tr>
                    <th class=""># 源码参数</th>
          
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td>源码类别: <%=CodeClassName%></td>
                    <td>源码类型: <%=CodeType %></td>
                    <td>适合人群: </td>

                  </tr>
                  <tr>
                    <td>授权类型: <%= SalyBaseType %></td>
                    <td>开发语言: <%=_CurFileinfo.filedevlan %></td>
                    <td>数据库: <%=_CurFileinfo.filedatabase %></td>
       
                  </tr>
                  <tr>
                    <td>框架版本: <%=_CurFileinfo.frameworkversion %></td>
                    <td>源码大小: <%= CodeZipLength %>MB</td>
                    <td>相关网址: <%=_CurFileinfo.linkurl %></td>
          
                  </tr>
                     <tr>
                    <td>源码指数: </td>
                    <td>完整度: </td>
                    <td>上架时间: <%=_CurFileinfo.addtime %></td>
          
                  </tr>
                   <%-- <tr>
                        
            
          
                    </tr>
                    <tr>
                            
                        
                    </tr>--%>
                </tbody>
              </table>
                  <%--<div class="jumbotron" style="width: 85%;text-align: center;margin: 0 auto;margin-bottom: 10px;">
              <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
                <ol class="carousel-indicators">
                  <li data-target="#carousel-example-generic" data-slide-to="0" class=""></li>
                  <li data-target="#carousel-example-generic" data-slide-to="1" class=""></li>
                  <li data-target="#carousel-example-generic" data-slide-to="2" class="active"></li>
                </ol>
                <div class="carousel-inner">
                  <div class="item"  onclick="bigImg(this)"><img src="<%= _CurFileinfo.filefirimg %>" alt=""></div>
                  <div class="item active left" onclick="bigImg(this)"><img src="<%=img2 %>" ></div>
                  <div class="item next left"  onclick="bigImg(this)"><img src="<%=img3 %>"  ></div>
                </div>
                <a class="left carousel-control" href="#carousel-example-generic" data-slide="prev">
                  <span class="glyphicon glyphicon-chevron-left"></span>
                </a>
                <a class="right carousel-control" href="#carousel-example-generic" data-slide="next">
                  <span class="glyphicon glyphicon-chevron-right"></span>
                </a>
              </div>
          
            </div>--%>
                  	<div id="contentimg">
		
		<div id="gallery">
			<div id="gallery_nav">
				<a rel="img1" href="javascript:;"><img src="<%= _CurFileinfo.filefirimg %>" /></a>
				<a rel="img2" href="javascript:;"><img src="<%=img2 %>" /></a>
				<a rel="img3" href="javascript:;"><img src="<%=img3 %>" /></a>
				<%--<a rel="img4" href="javascript:;"><img src="4.jpg" /></a>--%>
			</div>
			
			<div id="gallery_output">
				<div class="d1" onclick="max(this)"><img id="img1"  src="<%= _CurFileinfo.filefirimg %>" /></div>
				<div class="d1" onclick="max(this)"><img id="img2"   src="<%=img2 %>" /></div>
				<div class="d1" onclick="max(this)"><img id="img3"   src="<%=img3 %>" /></div>
				<%--<img id="img4" src="4.jpg" />--%>
			</div>
			
			<div class="clear"></div>
		</div>
	</div>
                    <div>
                
               <%=_CurFileinfo.codedes.Replace("img","span") %> 
            </div>
              </div>
            </div>
            <div class="panel panel-default">
              <div class="panel-heading">
                <h3 class="panel-title" id="buydata">购买记录</h3>
              </div>
              <div class="panel-body">
                <span class="grayfont">还没有谁购买该源码...</span>
              </div>
            </div>
            <div class="panel panel-default">
              <div class="panel-heading">
                <h3 class="panel-title" id="commentdata">评论列表</h3>
              </div>
              <div class="panel-body">
                <div class="col-xs-12">
                        <span style="font-size: 13px;color: black">源码点评</span>
                    <hr style="color:gainsboro; margin-top: 9px;" />
                        <textarea class="form-control" style="margin-top: -7px;" rows="3" id="txtCodeCotent" placeholder="在此输入评论消息..."></textarea>
                    <div class="" style="margin-top: 3px;float: right"><label class="errtip_comment error-message" style="display: none; color:lightcoral;vertical-align:bottom;">你的回复不可以为空！</label> <button id="btnComment" class="btn btn-success" onclick="">发表</button></div>
                   
                      </div>
                  <div class="col-xs-12">
                        <span style="font-size: 13px;color: black">点评列表</span>
                    <hr style="color:gainsboro; margin-top: 9px;" class="commentlistspilt" />
                <% foreach (CommentFormat curCommentFormat in CommentLists)
                   {%>
                       <div class="clearfix">
                           <input type="hidden" class="commentid" value="<%=curCommentFormat.cid %>" />
                        <div class="fl head_portrait">
                            <img src="<%=curCommentFormat.UserPic %>" width="50" height="50" alt="<%=curCommentFormat.UserName %>"> 
                        </div>
                        <div class="fl discuss_list_con">
                            <div class="discuss_list_con_tit">
                                <span class="commentusername"><%=curCommentFormat.UserName %></span>
                                <span class="commentuseraddtime">发表于：<%=curCommentFormat.CommentAddTime %></span>
                            </div>
                            <p><%=curCommentFormat.Content %></p>
                            
                            <div class="comment2" style="display:none;">
                                <input type="text" class="form-control" style="width:400px;height:20px; " id="autocom_comment2" placeholder="回复消息..." />
                                <%--<input type="text" class="" placeholder="Text input">--%>
                                <%--<button type="button" class="btn btn-info btn-sm btn-block">回复</button>--%>
                                  <span class="label label-success btn btn-small btn-success smallformat" onclick="addnewcommentlaminate(this)" style="float:right;margin-top:-20px;margin-left:5px;cursor: pointer">回复</span><span class="errtip_comment2" style="display: none;color:lightcoral;vertical-align:bottom;">回复消息不可以为空！</span>
                            </div>
                            <div style="margin-top:3px"></div>
                            <div style="display: none" class="hidcom2"><%=curCommentFormat.c2comment %></div>
                        </div>
                        <div class="discuss_list_opa">
                            <span class="grayfont" style="cursor: pointer" onclick="expcomm2(this)"><%=curCommentFormat.c2count %>个回复(展开/收缩)</span>
                            
                            <button class="btn btn-small btn-warning badge badge-warning smallformat" onclick="addnewcomment(this);return false;" >回复</button>
                        </div>
                    </div>
                   <%} %>
                      
                      
                      

                      </div>
              </div>
            </div>
          </div>
        <div class="col-md-6" style="width: 30%;margin-left: -15px;margin-top: -4px;">
            <div class="panel panel-default" style="width:106%">
              <div class="panel-heading"><img src="<%=UserData[1] %>" style="width: 30px; height: 30px" /><span style="vertical-align: middle;text-align: center"> <%=UserData[0] %></span> </div>
              <table class="table headfomart userspacetablehead">
               
                  <tr>
                    <td>发布源码数量：<%=curUserPubCodeCount().ToString() %></td>

                  </tr>
        <tr>

                    <td>活跃于：<%=CurCodeUpLoaderActionLastDateTime %></td>

                  </tr>
                   <tr>

                    <td>通过率：</td>
                  </tr>
              </table>
            </div>
            <% if (get3ListCurCodeUpLoadCodeRandom().Count() >= 3)
               {
                   var dataList = get3ListCurCodeUpLoadCodeRandom();  %>
            <div class="list-group" style="margin-top: -5px;width:106% ">
              <a href="?guidstr=<%=dataList.First()[4].ToString() %>" class="list-group-item active">
                  <img src="<%=dataList.First()[3].ToString() %>" alt="" style="width:45px;height:45px;float:left;margin-top:-5px;margin-left:-10px;margin-right:3px;" />
                <h4 class="list-group-item-heading font12" style="font-size: 13px;font-weight: bold;font-family: 黑体"><%= dataList.First()[0] %></h4>
                <p class="list-group-item-text  font13"><%=dataList.First()[2] %><span  class="glyphicon glyphicon-time font14" style="float: right"><%=dataList.First()[1] %></span></p>
              </a>
              <a href="?guidstr=<%=dataList[1][4].ToString() %>" class="list-group-item">
                     <img src="<%=dataList[1][3].ToString() %>" alt=""  style="width:45px;height:45px;float:left;margin-top:-5px;margin-left:-10px;margin-right:3px;" />
                <h4 class="list-group-item-heading font12" style="font-size: 13px;font-weight: bold"><%=dataList[1][0] %></h4>
                <p class="list-group-item-text font13"><%=dataList[1][2] %><span class="glyphicon glyphicon-time font14" style="float: right"><%=dataList[1][1] %></span></p>
              </a>
              <a href="?guidstr=<%=dataList.Last()[4].ToString() %>" class="list-group-item">
                     <img src="<%=dataList.Last()[3].ToString() %>" alt=""  style="width:45px;height:45px;float:left;margin-top:-5px;margin-left:-10px;margin-right:3px;" />
                <h4 class="list-group-item-heading font12" style="font-size: 13px;font-weight: bold"><%=dataList.Last()[0] %></h4>
                <p class="list-group-item-text font13"><%=dataList.Last()[2] %><span class="glyphicon glyphicon-time font14" style="float: right"><%=dataList.First()[1] %></span></p>
              </a>
            </div>
     <%} %>
            <div class="panel panel-default" style="width:106%;margin-top: -6px;">
              <div class="panel-heading">同类推荐</div>
              <div class="panel-body">
                  <form class="navbar-form navbar-right" role="search">
                        <div class="form-search search-only">
                          <i class="search-icon glyphicon glyphicon-search"></i>
                          <input type="text" style="color:#3bafda; height: 30px"  placeholder="同类搜索..." class="form-control search-query">
                        </div>
                      </form>
              </div>
              <ul class="list-group">
                  <% foreach (string[] data in get5CodeFileInfoByCodeClass())
                     {%>
                     <a href="?guidstr=<%=data[4] %>" class="list-group-item">
                     <img src="<%=data[2] %>" alt=""  style="width:45px;height:45px;float:left;margin-top:-5px;margin-left:-10px;margin-right:3px;" />
                <h4 class="list-group-item-heading font12" style="font-size: 13px;font-weight:normal"><%=data[0] %></h4>
                <p class="list-group-item-text font13">作者 <span style="font-weight: normal ;color:#40c641"><%=data[1] %></span><span class="font14" style="float: right;margin-left: 3px;"><%=data[3] %>次</span><span class="glyphicon glyphicon-eye-open font14" style="float: right"></span></p>
              </a>

                      <%--<li class="list-group-item"><img style="width: 45px;height: 45px;" src="<%=data[2] %>" /><%= data[0]+","+data[1] %> </li>  --%>
                    <% } %>
               
              </ul>
            </div>
          </div>
        <div id="outerdiv" style="position:fixed;top:0;left:0;background:rgba(0,0,0,0.7);z-index:2;width:100%;height:100%;display:none;"><div id="innerdiv" style="position:absolute;"><img id="bigimg" style="border:5px solid #fff;" src="" /></div></div>
   <!--弹出层-->
<div class="max" id="maxfixed">
    <!--内容-->
    <div id="maxadd"></div>
</div>
         </div>
       <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:commyaspxdbConnectionString %>" SelectCommand="SELECT a.*,b.tagname as tagname FROM [my_fileinfo] as a left join [my_tag] as b on a.fileid=b.fileinfoid  ORDER BY [addtime] DESC"></asp:SqlDataSource>
      <style>
        .tagonly {
            border:1px solid #aab2bd; font-size:7px;padding-left:3px;padding-right:3px;color:#aab2bd;font-family: 微软雅黑;
        }
        .ingreen{ color: forestgreen;}
    </style>   
    <script>
        
        $(document).ready(function() {
            var saletype = '<%= SaleType%>';
            console.log("'<%= SaleType%>'");
            if (saletype.indexOf('免费')>0) {
                //var salenub2 =
                //          _commyaspxdbEntities.my_saledetail.Where(sd => sd.fileid == _CurFileinfo.fileid)
                //              .First()
                //              .salenum;
                //_saletype = "人民币￥:" + salenub2;
                $('#btn-download').removeClass('btn-warning');
                $('#btn-download').removeClass('btn-danger');
                $('#btn-download').addClass('btn-success');
            }
            if (saletype.indexOf('积分')>0) {
                $('#btn-download').removeClass('btn-success');
                $('#btn-download').removeClass('btn-danger');
                $('#btn-download').addClass('btn-warning');
            }
            if (saletype.indexOf('￥') > 0) {
                console.log(saletype);
                $('#btn-download').removeClass('btn-warning');
                $('#btn-download').removeClass('btn-success');
                $('#btn-download').addClass('btn-danger');
            }
            switch (saletype) {
            case "免费":
                $('#btn-download').removeClass('btn-warning');
                $('#btn-download').removeClass('btn-danger');
                $('#btn-download').addClass('btn-success');
                break;
            case "积分":
                $('#btn-download').removeClass('btn-success');
                $('#btn-download').removeClass('btn-danger');
                $('#btn-download').addClass('btn-warning');
                break;
            case "人民币":
                $('#btn-download').removeClass('btn-warning');
                $('#btn-download').removeClass('btn-success');
                $('#btn-download').addClass('btn-danger');
                break;
            default:
            }

            $("#gallery_output img").not(":first").hide();

            $("#gallery a").click(function () {
                if ($("#" + this.rel).is(":hidden")) {
                    $("#gallery_output img").slideUp();
                    $("#" + this.rel).slideDown();
                }
            });
            //源码目录显示
            //$('#codefold').fileTree({ root: '../Services/',script:'DetailCode.aspx' }, function (file) {
            //    alert(file);
            //});
        });

        $('#btnComment').click(function () {
            
            var fid = "<%= _CurFileinfo.fileid%>";
            var comment = $('#txtCodeCotent').val();
            if (comment.trim() == "") {
                $('.errtip_comment').css('display', 'inline-block');
                return false;
            } else { 
                $('.errtip_comment').css('display', 'none');
            }
            //console.log(fid + " " + comment);
            //return false;/*&fileid=" + "4bdeab8c4a284d5998b1434f846f6b9f_2017724131435" + "&content=" + "这个源码怎么搭建不去来？*/
            $.post({
                type: "Post", url: "../Services/Comment/CommentHelpHandler.ashx?action=pcomment&fileid="+fid+"&content="+comment/*, data:{ fileid: fid, content: comment }*/, contentType: "application/json; charset=utf-8", dataType: "json",
                success: function (data) {
                    //返回的数据用data.d获取内容   
                    //var result = data['responseText'];
                    console.log(data);
                    //alert(result);
                    $('.commentlistspilt').after(data);
                    $('#txtCodeCotent').val("");
                }, error: function (err) {
                    console.log(err);
                    //alert(err);
                }
            });
            return false;
        });

        function addnewcomment(obj) {
            //($(obj));
            $(obj).parent().parent().find('.comment2').css('display', 'block'); //.slibings().css('display', 'none').end();
            //$(obj).parent().parent().parent().find('.comment2').slibings().css('display', 'none');

            //
        }

        function expcomm2(obj) {
            if($(obj).parent().parent().find('.hidcom2').css('display')=='none')
                $(obj).parent().parent().find('.hidcom2').css('display', 'inline-block');
            else
                $(obj).parent().parent().find('.hidcom2').css('display', 'none');
        }
        function addnewcommentlaminate(obj) {
            //console.log($(obj).parent().parent().parent().find('.commentid').val());
            var pid = $(obj).parent().parent().parent().find('.commentid').eq(0).val();
            var fid = "<%= _CurFileinfo.fileid%>";
            var comment = $(obj).parent().find('#autocom_comment2').val();
            if (comment.trim() == "") {
                $(obj).parent().find('.errtip_comment2').css('display', 'inline-block');
                return false;
            } else {
                $(obj).parent().find('.errtip_comment2').css('display', 'none');
            }
            $.post({
                type: "Post", url: "../Services/Comment/CommentHelpHandler.ashx?action=pcommentstack&fileid=" + fid + "&content=" + comment+"&pid="+pid/*, data:{ fileid: fid, content: comment }*/, contentType: "application/json; charset=utf-8", dataType: "json",
                success: function (data) {
                    //返回的数据用data.d获取内容   
                    //var result = data['responseText'];
                    console.log(data);
                    //alert(result);
                    //discuss_list_con
                    $(obj).parent().parent().append(data/*"<span style='margin-left:5px;'>"+comment+"</span><br>"*/);
                    $(obj).parent().find('#autocom_comment2').val("");
                    $(obj).parent().css('display','none');
                }, error: function (err) {
                    console.log(err);
                    //alert(err);
                }
            });
            return false;
        }
   
    </script>
</asp:Content>
